package com.quo.service;

import java.util.List;

import com.quo.dto.ProductPlanDto;
import com.quo.dto.ProductsPlanDto;
import com.quo.dto.QuoDto;
import com.quo.dto.QuoInfo;
import com.quo.dto.QuotesDto;
import com.quo.entity.QuoDetail;
import com.quo.entity.Quote;
import com.quo.entity.QuoteDetail;

/** 

* @author zhoumin

*/

public interface QuoteService {

	//通过报价单获取产品id
	Long[] getPidsByQuoteDetail();

	//获取报价单列表
	List<QuotesDto> getQuoteList();

	//获取特定报价单信息
	QuoDto getQuoDto(Long qid);
	
	//获取特定报价单的产品明细表
	List<QuoDetail> getQuoDetailList(Long qid);

	//新增报价单
	void addQuoInfo(Quote quote, List<QuoteDetail> quoteDetail);

	//获取自己创建的报价单
	List<QuotesDto> getQuoteListForSelf(Integer eno);

	//删除报价单
	void delQuoteInfo(Long qid);

	//获取特定报价单信息（个人）
	QuoDto getQuoDtoForSelf(Long qid, Integer eno);

	//获取特定报价单（导出）
	List<QuotesDto> selectByQids(Long[] qids);

	List<Quote> getQuotePrint();

	//获取所有待一级审核报价单信息
	List<QuotesDto> getQListForFirstExamine();

	void setAllQuotePass(Long[] qids);

	void setAllQuoteDeny(Long[] qids);

	void setQuotePass(Long qid);

	void setQuoteDeny(Long qid);

	List<ProductsPlanDto> getQListForProduce();

	ProductPlanDto getProductPlanDto(Long pid);

	void setAllProductPlanPass(Long[] qids);

	void setAllProductPlanDeny(Long[] qids);

	void setProductPlanPass(Long qid);

	void setProductPlanDeny(Long qid);

}
